package com.changpei.core.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 *
 *
 * @author Way on 2021/8/25
 */
@Component
@ConfigurationProperties(prefix = "mq")
@Data
@ToString
public class RabbitInfoConfig {

    /**
     * 交换器
     */
    private Map<String, String> exchange;

    /**
     * 队列
     */
    private Map<String, String> queue;

    /**
     * 路由
     */
    private Map<String, String> routing;
}
